<%--
  Created by IntelliJ IDEA.
  User: gz
  Date: 2025/02/16
  Time: 19:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>jsp的简单求和计算器</h1>
<%
  //这里面可以写java代码
  int i=10;
  int j=20;
  int sum=i+j;
  out.println(i+"+"+j+"="+sum);
  //jsp本质就是servlet(继承了Servlet)->本质就是java

%>
</body>
</html>
